#ifndef __TASK_QUEUE__
#define __TASK_QUEUE__
#include<iostream>
#include"Condition.h"
#include"Mutexion.h"
#include<queue>
using std::queue;

class TaskQenen{

public:
    TaskQenen(size_t size);
    ~TaskQenen();
    bool Empty();
    bool Full();
    void push(int value);
    int pop();
private:
    size_t queSize;
    queue<int> _que;
    Mutexion _mtuex;
    Condition notEmpty;
    Condition notFull;    
};
#endif